package com.service.business.base.controller.req;

import com.service.business.member.validator.VerifyCodeExistValidate;
import com.service.dao.constants.ConfigConstants;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * <dl>
 * <dt>platform</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2018</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019-04-04</dd>
 * </dl>
 */
@Setter
@Getter
@ToString
public class RegisterReq {

    @NotNull(message = "args_empty_user_account")
    private String userAccount;

    @NotNull(message = "args_empty_login_pwd")
    private String loginPwd;

    @NotNull(message = "args_empty_safety_pwd")
    private String safetyPwd;

//    @NotNull(message = "args_empty_verify_code")
    private String verifyCode;

    @NotNull(message = "args_empty_invitation_code")
    private String invitationCode;

    @VerifyCodeExistValidate(ConfigConstants.IMAGE_VERIFY_CODE)
    private String picCodeImage;

    @VerifyCodeExistValidate(ConfigConstants.IMAGE_VERIFY_CODE)
    private String picVerifyCode;

    private String regIp;

}
